<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <title>租付通-主页</title>
    <meta name="keywords" content="租付通">
    <!--[if IE 8]> 仅IE8识别 <![endif]-->
    <!--<link rel="shortcut icon" href="favicon.ico">-->
    <link href="__PUBLIC__/css/bootstrap.min14ed.css?v=3.3.6" rel="stylesheet">
    <link rel="stylesheet" href="__PUBLIC__/css/icon/style.css">
    <link href="__PUBLIC__/css/animate.min.css" rel="stylesheet">
    <link href="__PUBLIC__/css/style.min862f.css?v=4.1.0" rel="stylesheet">
    <link rel="stylesheet" href="<?=STATIC_URL?>assets/build/<?=LOCAL_DIR?>css/zft.all.css">
</head>

<body class="fixed-sidebar full-height-layout  pace-done fixed-nav" style="overflow:hidden">
    <div id="wrapper">
        <!--左侧导航开始-->
        <nav class="navbar-default navbar-static-side" role="navigation">

            <div class="sidebar-collapse">
                <div class="nav-close "><i class="fa fa-times-circle"></i>
                </div>
                <ul class="nav" id="side-menu">
                    <li class="nav-header" id="navHeader">
                        <div class="dropdown profile-element">
                            <div class="row">
                                <?php if (isset($avatar)) {
                                    if (!empty($avatar)) {    ?>
                                <span class="col-md-4"> <img alt="image" class="img-circle profile" onerror="javascript:this.src='/static/img/profile_small.jpg'" src="<?php echo $avatar;?>" /></span>
                                <?php } else { ?>
                                <span class="col-md-4"> <img alt="image" class="img-circle profile" src="__PUBLIC__/img/profile_small.jpg" /></span>
                                <?php }}?>
                                <p>
                                    <span class=" u-span_index" id="userName" title="<?php  if(isset($_SESSION['nickname'])) echo $_SESSION['nickname'];?>"><?php  if(isset($_SESSION['nickname'])) echo $_SESSION['nickname'];?></span>
                                    <span class=" u-span_index" id="userRole">
                                <?php
                                if(isset($dtype))
                                    switch ($dtype)
                                    {
                                    case 0:
                                      echo "超级管理员";
                                      break;
                                    case 1:
                                      echo "业主";
                                      break;
                                    case 2:
                                      echo "租户";
                                      break;
                                    case 3:
                                      echo "托管公司";
                                      break;
                                    case 4:
                                      echo "运营方";
                                      break;
                                    case 5:
                                      echo "物业公司";
                                      break;
                                    case 6:
                                      echo "水电公司";
                                      break;
                                    default:
                                      echo "员工";
                                    }
                                ?> 
                                </span>
                                </p>
                            </div>

                        </div>
                        <div class="logo-element">
                            <?php if (isset($avatar)) {
                                    if (!empty($avatar)) {    ?>
                            <span> <img alt="image" class="img-circle profile userProfile" onerror="javascript:this.src='/static/img/profile_small.jpg'" src="<?php echo $avatar;?>" /></span>
                            <?php } else { ?>
                            <span> <img alt="image" class="img-circle profile userProfile" src="/static/img/profile_small.jpg" /></span>
                            <?php }}?>
                        </div>
                    </li>
                    <!-- nav-header -->
                    <!-- <li class="active">
                        <a href="javascript:;">
                            <span class="nav-label">对账管理</span> 
                            <span class="arrow icon-arrowdown icon-pc-pay-the-rent"></span> 
                        </a>
                        <ul class="nav nav-second-level collapse" aria-expanded="false" style="height: 0px;">
                            
                            <li>
                                <a class="J_menuItem" href="/index/index/bill_check_management" data-href="/index/index/income" data-index="12">
                                <i class="icon-pc-pay-the-rent icon-bill-mng"></i>
                                <span class="nav-label">对账文件管理</span> </a>
                            </li>
                            <li>
                                <a class="J_menuItem" href="/index/index/bill_check_result" data-href="/index/index/income" data-index="12">
                                <i class="icon-pc-pay-the-rent icon-bill-result"></i>
                                <span class="nav-label">对账结果管理</span> </a>
                            </li>
                            
                        </ul>
                    </li> -->
                    
                </ul>
            </div>
        </nav>
        <!--左侧导航结束-->
        <!--右侧部分开始-->
        <div id="page-wrapper" class="gray-bg dashbard-1">
            <div class="row border-bottom">
                <nav class="navbar navbar-fixed-top" role="navigation" style="margin-bottom: 0">
                    <div class="navbar-header" style="float:left;">
                        <div id="mLogo" style="float:left;">
                            <img class="m-logo" src="__PUBLIC__/img/kong.gif">
                        </div>
                        <div id="userBox" class="m-userbox" style="float:left;">
                            <a href="{:url('index/index/usercenter')}?t=0" class="img-circle" target="_blank"><span class="icon-pc-pay-the-rent icon-yonghutouxiang"></span></a>
                            <a href="{:url('index/index/usercenter')}?t=2" class="img-circle" target="_blank"><span class="icon-pc-pay-the-rent icon-zhanghuyue"></span></a>
                            <a href="{:url('index/index/logOut')}" class="img-circle"><span class="icon-pc-pay-the-rent icon-tuichu" ></span></a>
                        </div>
                        <!--  <div role="search" class="navbar-form-custom" style="float:left;">
                            <div class="form-group" id="schBox">
                                <input type="text" placeholder="请输入需要查找的内容 …" class="form-control" name="top-search" id="top-search">
                                <i class="icon-pc-pay-the-rent icon-sousuo" id="iconSearch"></i>
                            </div>
                        </div>-->
                    </div>

                    <!-- <ul class="nav navbar-top-links navbar-right">
                        <li class="dropdown">
                            <a class="img-circle count-info"  href="#">
                                <i class="icon-pc-pay-the-rent icon-tishixiaoxi"></i> <span class="label label-primary"></span>
                            </a>
                        </li>
                        <li class="dropdown">
                            <a class="img-circle count-info"  href="#">
                                <i class="icon-pc-pay-the-rent icon-gaojingxiaoxi"></i> <span class="label label-info"></span>
                            </a>
                        </li>
                        <li class="dropdown">
                            <a class="img-circle count-info"  href="#">
                                <i class="icon-pc-pay-the-rent icon-shengjigonggao"></i> <span class="label label-danger"></span>
                            </a>
                        </li>
                    </ul>-->
                </nav>
            </div>
            <div class="row content-tabs">

                <a class="roll-nav roll-left navbar-minimalize minimalize-styl-2 btn btn-primary " id="limitLogo" href="javascript:;">≡ </a>
                <nav class="page-tabs J_menuTabs">
                    <div class="page-tabs-content">
                        <!--<a href="javascript:;" class="active J_menuTab" data-id="home.html">首页</a>-->
                    </div>
                </nav>

                <div class="btn-group roll-nav roll-right" id="rollRightBtn">
                    <button id="dropDownBtn" class="dropdown J_tabClose" data-toggle="dropdown">操作<span class="caret"></span>
                    </button>
                    <ul role="menu" class="dropdown-menu dropdown-menu-right" id="dropMenu">
                        <li class="J_tabRefresh"><a>刷新当前选项卡</a>
                        </li>
                        <li class="divider"></li>
                        <li class="J_tabCloseAll"><a>关闭全部选项卡</a>
                        </li>
                        <li class="J_tabCloseOther"><a>关闭其他选项卡</a>
                        </li>
                    </ul>
                </div>
                <!--<a class="roll-nav roll-right J_tabExit" href="index/logOut"><i ></i> 退出</a>-->
            </div>
            <div class="row J_mainContent" id="content-main">
                <iframe class="J_iframe" id="iframe0" name="iframe0" width="100%" height="100%" src="" frameborder="0"
                seamless></iframe>
            </div>
            <div class="footer " id="footer">
                <div class="z-fl ">
                    <a href="javascript:;">关于我们 |</a>
                    <a href="javascript:;">联系我们 |</a>
                    <a href="javascript:;">API接口 |</a>
                    <a href="javascript:;">帮助中心 </a>
                </div>
                <span class="m-box_addr">
                ©福建租付通信息科技有限公司  闽ICP备17004106号-1
            </span>
            </div>
        </div>
        <!--右侧部分结束-->
        <!--右侧边栏开始-->
        <div id="right-sidebar">
            <div class="sidebar-container">

                <ul class="nav nav-tabs navs-3">

                    <li class="active">
                        <a data-toggle="tab" href="#tab-1">
                            <i class="fa fa-gear"></i> 主题
                        </a>
                    </li>
                    <li class=""><a data-toggle="tab" href="#tab-2">
                        通知
                    </a>
                    </li>
                    <li><a data-toggle="tab" href="#tab-3">
                        项目进度
                    </a>
                    </li>
                </ul>



            </div>
        </div>
        <!--右侧边栏结束-->


    </div>


    {include file="common/footer-sub" /}

    <script src="__PUBLIC__/js/judge.ie.js"></script>
    <script src="__PUBLIC__/js/bootstrap.min.js?v=3.3.6"></script>
    <script type="text/javascript" src="<?=STATIC_URL?>assets/build/<?=LOCAL_DIR?>js/zft-home.all.js?<?=st?>"></script>
    <script id="menu" src="__PUBLIC__/js/plugins/metisMenu/jquery.metisMenu.js"></script>
    <script src="__PUBLIC__/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
    <script src="__PUBLIC__/js/plugins/layer/layer.min.js" id="layer"></script>
    <script src="__PUBLIC__/js/hplus.min.js?v=4.1.0" id="plus"></script>
    <script type="text/javascript" src="__PUBLIC__/js/contabs.min.js"></script>
    <script src="__PUBLIC__/js/plugins/pace/pace.min.js"></script>

</body>

</html>